package cn.etc;

import java.io.*;

//public class Test {

 //   public static void main(String[] args) throws IOException, ClassNotFoundException {

//        User user = new User();
//        user.setAge("18");
//        user.setUsername("wangcc");
//
//        ObjectOutputStream obj = new ObjectOutputStream(new FileOutputStream(new File("f:\\aa.txt")));
//        obj.writeObject(user);


//        ObjectInputStream obj = new ObjectInputStream(new FileInputStream(new File("f:\\aa.txt")));
//        User o = (User) obj.readObject();
//
//        System.out.println(o.getUsername());
//    }
//}
